home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar 2004 April
/
Gamestar_61_2004-04_dvdb.iso
/
DVDStar
/
Editace
/
hltp.exe
/
{app}
/
Source Code
/
VirtualDub
/
sylia
/
StringHeap.h
< prev
next >
Wrap
C/C++ Source or Header
|
2003-10-01
|
454b
|
30 lines
#ifndef f_STRINGHEAP_H
#define f_STRINGHEAP_H
class CStringHeap {
private:
struct StringDescriptor {
char **handle;
long len;
};
StringDescriptor *lpHeap;
char **lpHandleTable;
long lHandles;
long lQuads;
long lQuadsFree;
bool _Allocate(char **, int, bool);
public:
CStringHeap(long, long);
~CStringHeap();
void Clear();
void Compact();
char **Allocate(int, bool);
void Free(char **, bool);
};
#endif